package com.wuxiaofan.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("goods")
public class Goods extends Model<Goods> {
    private static final long serialVersionUID = 1L;

    private long id;
    //商品名称
    private String goodsName;
    //商品标题
    private String goodsTitle;
    //商品图片
    private String goodsImg;
    //商品详情
    private String goodsDetail;
    //商品价格
    private BigDecimal goodsPrice;
    //商品库存
    private long goodsStock;
}
